n=10
flag=0
l=[]
for i in range(2,n+1):
    for x in range(2,i):
        if i%x==0:
            break
        else:
            flag+=1
            l.append(i)
            print(l)